package chances.wechat.entity;

import java.util.Date;

public class StbInfo implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7300847904955214891L;

	public static final int ENABLE = 1;

	public static final int DISABLE = 1;

	private Long id;
	private String stbNo;
	private int status;
	private String stbType;
	private String password;
	private String homePage;
	private String master;
	private Date createTime;
	private Date lastLoginTime;
	private int loginTimes;
	private Integer volume;
	private String lastPlayInfo;
	private String epgGroup;
	private String userGroup;

	public Long getId() {
		return id;
	}

	public String getStbNo() {
		return stbNo;
	}

	public String getPassword() {
		return password;
	}

	public String getHomePage() {
		return homePage;
	}

	public String getMaster() {
		return master;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setStbNo(String stbNo) {
		this.stbNo = stbNo;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setHomePage(String homePage) {
		this.homePage = homePage;
	}

	public void setMaster(String master) {
		this.master = master;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getStbType() {
		return stbType;
	}

	public void setStbType(String stbType) {
		this.stbType = stbType;
	}

	public Integer getVolume() {
		return volume;
	}

	public void setVolume(Integer volume) {
		this.volume = volume;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public void addLoginTimes() {
		this.loginTimes++;

	}

	public int getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(int loginTimes) {
		this.loginTimes = loginTimes;
	}

	public String getLastPlayInfo() {
		return lastPlayInfo;
	}

	public void setLastPlayInfo(String lastPlayInfo) {
		this.lastPlayInfo = lastPlayInfo;
	}

	public String getEpgGroup() {
		return epgGroup;
	}

	public void setEpgGroup(String epgGroup) {
		this.epgGroup = epgGroup;
	}

	public String getUserGroup() {
		return userGroup;
	}

	public void setUserGroup(String userGroup) {
		this.userGroup = userGroup;
	}
}
